<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Login</title>
    
    <!-- <link rel="stylesheet" type="text/css" href="/css/Login.css" /> -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui@2.4.7/lib/theme-chalk/index.css">
    <link rel="stylesheet" href="/css/login.css">
    <!--使用CDN引入Vue模块-->
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <!-- 引入Element组件库 -->
    <script src="https://unpkg.com/element-ui@2.4.7/lib/index.js"></script>
    <!-- 引入Axios组件库 -->
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>

<body>
    <div id="login">
        <h1>Login</h1>
        <el-form :model="user" status-icon ref="account" label-width="100px" class="demo-ruleForm">
            <el-input v-model="user.username" placeholder="请输入账号"></el-input>
            <el-input placeholder="请输入密码" v-model="user.password" show-password type="password"></el-input>
            <el-button class="but" type="submit" @click="submit('user')">登录</button>
        </el-form>
    </div>
</body>

</html>
<!-- 引入Vue代码 -->
<script src="/js/login.js"></script>